package com.example.demo.service;

import com.example.demo.entity.Event;
import com.example.demo.entity.User;

import java.util.List;

public interface UserService {
    List<User> list();

    User checkExist(User user);

    boolean changeUser(User user);

    User selectByName(String name);

    boolean addUser(User user);
}
